package com.ws.admin.post.service;

import com.ws.admin.post.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 论坛-帖子 服务类
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-26
 */
public interface IPostService extends IService<Post> {

    Page<Post> list(Post post, Integer current, Integer size);

    Map<String,Object> readPostAndReply(Post post);
}
